package com.service;

import com.impl.UserDao;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    UserDao userDao;

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void talk(){
        userDao.talk();
        System.out.println("我是service！");
    }
}
